<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <title>Swiper demo</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
    <link rel="stylesheet" href="./css/swiper-bundle.min.css">
    <!-- <link rel="stylesheet" href="./css/index.css"> -->
    <!-- Demo styles -->
    <style>
        html,
        body {
            position: relative;
            height: 100%;
        }

        /* .swiper {
            width: 100%;
            height: 100%;
        } */

        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;

            /* Center slide text vertically */
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
        }

        .swiper-slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    </style>
</head>

<body>
    <!-- Swiper -->
    <div class="swiper mySwiper SocialBusinessswiper">
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <div>
                    <img src="./images/othercur1.png" alt="">
                    <div class="SocialBusiness_text">
                        <h4>不动产业务</h4>
                        <p>负责不动产业务板块的相关知识</p>
                        <p>查看详情></p>
                    </div>
                </div>
            </div>
            <div class="swiper-slide">
                <div>
                    <img src="./images/othercur2.png" alt="">
                    <div class="SocialBusiness_text">
                        <h4>不动产业务</h4>
                        <p>负责不动产业务板块的相关知识</p>
                        <p>查看详情></p>
                    </div>
                </div>
            </div>
            <div class="swiper-slide">
                <div>
                    <img src="./images/othercur3.png" alt="">
                    <div class="SocialBusiness_text">
                        <h4>不动产业务</h4>
                        <p>负责不动产业务板块的相关知识</p>
                        <p>查看详情></p>
                    </div>
                </div>
            </div>

        </div>
        <div class="swiper-pagination swiper-pagination4"></div>
    </div>

    <!-- Swiper JS -->
    <script src="./js/swiper-bundle.min.js"></script>

    <!-- Initialize Swiper -->
    <script>
        var SocialBusinessswiper = new Swiper(".SocialBusinessswiper", {
            // 开启自动轮播
            autoplay: {
                delay: 3000,
                stopOnLastSlide: false,
                disableOnInteraction: true,
            },
            loop: true,
            pagination: {

                el: ".swiper-pagination4",
            },
        });
    </script>
</body>

</html>